/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package paw.eltabique.service;

import paw.eltabique.service.interfaces.PermisosFacadeLocal;
import paw.eltabique.service.interfaces.PermisosFacadeRemote;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import paw.eltabique.domain.Permisos;

/**
 *
 * @author drakart
 */
@Stateless
public class PermisosFacade extends AbstractFacade<Permisos> implements PermisosFacadeLocal, PermisosFacadeRemote {
  @PersistenceContext(unitName = "eltabique-ejbPU")
  private EntityManager em;

  protected EntityManager getEntityManager() {
    return em;
  }

  public PermisosFacade() {
    super(Permisos.class);
  }

}
